import axios from 'axios'
import qs from 'qs'

// 面试宝典
export function getMsbdData(params) {
    return axios({
        url: "http://localhost:2345/msbd/get-msbd",
        method: 'get',
        params
    })
}


// 添加
export function addMsbdData(data) {
    return axios({
        method: "post",
        url: "http://localhost:2345/msbd/save-msbd",
        data
    })
}

// 修改
export function updateMsbdData(data) {
    return axios({
        method: "post",
        url: "http://localhost:2345/msbd/update-msbd",
        data
    })
}

// 删除
export function delMsbdData(params) {
    console.log(params);
    return axios({
        method: "get",
        url: "http://localhost:2345/msbd/delete-msbd",
        params
    })
}